package com.google.project.client.Service;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.project.shared.SpecializeDTO;

public interface SpecializeServiceAsync {
	void addSpecialize(SpecializeDTO specialize, AsyncCallback<SpecializeDTO> callback);

	void getSpecList(AsyncCallback<List<SpecializeDTO>> callback);

	void deleteSpecialize(String specializeId, AsyncCallback<Void> callback);

	void updateSpecialize(SpecializeDTO specializeDTO,
			AsyncCallback<Void> callback);

	void getSpecializeById(String specializeId,
			AsyncCallback<SpecializeDTO> callback);

	void deleteSpecializeList(List<SpecializeDTO> list,
			AsyncCallback<Void> callback);
}
